Skip to content

Commit 1cac1de

Browse files
committed
deploy manually
1 parent df43fbd commit 1cac1de

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/staging.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ jobs:
4444
with:
4545
name: site
4646
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 }}"
47+
- name: Deploy to GitHub Pages
48+
working-directory: "${{ github.workspace }}/knative-tutorial-staging/${{ env.SITE_DIR }}"
49+
run: |
50+
git add .
51+
git commit -m "[Staging] Publish Documentation for ${{ github.sha }}"
52+
git push origin 'gh-pages'

0 commit comments

Comments
 (0)