diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f2c9e97..b3b0a6b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,13 +31,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v5 - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + - name: Echos + run: echo "${{env.GITHUB_SHA}}" + - name: Create release-notes branch + uses: peterjgrainger/action-create-branch@v2.2.0 + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + branch: 'release-notes' + sha: '${{env.GITHUB_SHA}}'