File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 - name : Checkout
3434 uses : actions/checkout@v2
3535 with :
36- repository : ' redhat-developer-docs/knative-tutorial-staging'
37- token : " ${{ secrets.GITHUB_PAT }}"
36+ repository : redhat-developer-docs/knative-tutorial-staging
3837 ref : ' gh-pages'
3938 path : knative-tutorial-staging
4039 - name : " List folder"
@@ -44,11 +43,11 @@ jobs:
4443 uses : actions/download-artifact@v1
4544 with :
4645 name : site
47- path : " ${{ github.workspace }}/${{ env.SITE_DIR }}"
46+ path : " ${{ github.workspace }}/knative-tutorial-staging/ ${{ env.SITE_DIR }}"
4847 - name : Deploy to GitHub Pages
4948 uses : JamesIves/github-pages-deploy-action@3.2.1
5049 with :
51- GITHUB_TOKEN : " ${{ secrets.GITHUB_PAT }}"
50+ GITHUB_TOKEN : " ${{ github.token }}"
5251 FOLDER : " ${{ env.SITE_DIR }}"
5352 BRANCH : ' gh-pages'
5453 COMMIT_MESSAGE : " [Staging] Publish Documentation for ${{ github.sha }}"
You can’t perform that action at this time.
0 commit comments