Skip to content

Commit

Permalink
Rename sync.yml to sync-deploy.yml since we are now deploying using w…
Browse files Browse the repository at this point in the history
…orkflow
  • Loading branch information
s3tupw1zard committed Aug 10, 2024
1 parent d6d3434 commit b241685
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/sync.yml → .github/workflows/sync-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,30 @@ jobs:
- name: Index, Sitemap and Push
if: ${{ env.IS_SYNC == 'true' }}
run: |
python util/cli.py sitemap --base-url "https://mmrl.dergoogler.com/?module="
python util/cli.py sitemap --base-url "https://s3tupw1zard.github.io/smr/?module="
python util/cli.py index --push
- name: Upload logs
uses: actions/upload-artifact@v3
with:
name: logs
path: log/*.log

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit b241685

Please sign in to comment.