Skip to content

Deploy

Deploy #22

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
uses: ./.github/workflows/build.yml
with:
branch: ${{ github.event.head_commit.message }}

Check failure on line 22 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 22, Col: 15): Invalid input, branch is not defined in the referenced workflow.
public_path: https://${{ github.repository_owner }}.github.io/${{ github.repository_name }}
secrets: inherit
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Download build results
uses: actions/download-artifact@v4
with:
name: build
path: ./out
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: out
CLEAN: true
target-folder: .
git-config-name: ${{ github.actor }}
git-config-email: ${{ github.actor }}@users.noreply.github.com
commit-message: Deploy from commit ${{ github.sha }}