We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df43fbd commit 1cac1deCopy full SHA for 1cac1de
1 file changed
.github/workflows/staging.yml
@@ -44,10 +44,9 @@ jobs:
44
with:
45
name: site
46
path: "${{ github.workspace }}/knative-tutorial-staging/${{ env.SITE_DIR }}"
47
- - name: Deploy to GitHub Pages
48
- uses: JamesIves/github-pages-deploy-action@3.2.1
49
- with:
50
- ACCESS_TOKEN: " ${{ secrets.GITHUB_PAT }}"
51
- FOLDER: "knative-tutorial-staging/${{ env.SITE_DIR }}"
52
- BRANCH: 'gh-pages'
53
- COMMIT_MESSAGE: "[Staging] Publish Documentation for ${{ github.sha }}"
+ - name: Deploy to GitHub Pages
+ working-directory: "${{ github.workspace }}/knative-tutorial-staging/${{ env.SITE_DIR }}"
+ run: |
+ git add .
+ git commit -m "[Staging] Publish Documentation for ${{ github.sha }}"
+ git push origin 'gh-pages'
0 commit comments