Add Forgejo Actions workflow (copied from .github/workflows/deploy-pages.yml)
Some checks failed
Deploy to GitHub Pages / deploy (push) Failing after 47s
Some checks failed
Deploy to GitHub Pages / deploy (push) Failing after 47s
This commit is contained in:
parent
8e91120145
commit
b8bf814f72
1 changed files with 34 additions and 0 deletions
34
.forgejo/workflows/deploy-pages.yml
Normal file
34
.forgejo/workflows/deploy-pages.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
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:
|
||||
path: '.'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
Loading…
Add table
Reference in a new issue