Files
leagues-tools/.gitea/workflows/deploy.yml
Sonderau 4c570b0437
Some checks failed
Build & Deploy OS League Tools / build (push) Failing after 1m13s
Build & Deploy OS League Tools / deploy (push) Has been skipped
Move workflows to repo root for Gitea Actions
2026-01-16 23:07:41 +00:00

25 lines
705 B
YAML

name: Build and Deploy to GH Pages
on: [workflow_dispatch]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install and build
run: |
npm install
npm run build
env:
REACT_APP_GA_MID: ${{ secrets.REACT_APP_GA_MID }}
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}