Skip to content

Commit

Permalink
auto deploy on draft
Browse files Browse the repository at this point in the history
  • Loading branch information
schassande authored Dec 10, 2023
1 parent a51353e commit dff2bf8
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,23 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- name: Download Artecfact
uses: actions/download-artifact@v3
with:
name: github-pages
path: ./public
# - name: Deploy
# uses: peaceiris/[email protected]
# with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# external_repository: snowcamp/snowcamp.github.io
# publish_branch: master
# publish_dir: ./public
- name: Deploy
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY_DRAFT }}
external_repository: Ldoppea/draft-snowcamp
publish_branch: master
publish_dir: ./public

0 comments on commit dff2bf8

Please sign in to comment.