Skip to content

Commit

Permalink
Last try, github pages integration in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
avanwinkle committed Aug 12, 2024
1 parent f26290e commit 461d5d4
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Configure GitHub Pages
uses: actions/configure-pages@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -33,9 +36,18 @@ jobs:
run: |
git config user.name "mike-ci-bot"
git config user.email "missionpinball@users.noreply.github.com"
git fetch
git checkout gh-pages
git pull
git checkout main
mike deploy --push 0.57 latest
# git fetch
# git checkout gh-pages
# git pull
# git checkout main
mike deploy 0.57 latest
mike set-default --push latest
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: 'site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 461d5d4

Please sign in to comment.