Skip to content

Merge pull request #4 from ceddlyburge/separate-build-workflow #6

Merge pull request #4 from ceddlyburge/separate-build-workflow

Merge pull request #4 from ceddlyburge/separate-build-workflow #6

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build
uses: ./.github/workflows/test.yaml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yml" -> "./.github/workflows/test.yaml" : failed to fetch workflow: workflow was not found.
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: production-files
path: ./dist
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist