Skip to content

Commit

Permalink
ci: switch to new gh pages workflow (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Sep 23, 2024
1 parent 5881902 commit 9df44f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
workflow_dispatch:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "themes/"

- name: Deploy artifact to GitHub Pages
id: deploy
uses: actions/deploy-pages@v4
21 changes: 0 additions & 21 deletions .github/workflows/gh-pages.yml

This file was deleted.

0 comments on commit 9df44f0

Please sign in to comment.