Skip to content

workflow revamp [temp] #2

workflow revamp [temp]

workflow revamp [temp] #2

Workflow file for this run

name: Deploy

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: deploy
on: workflow_call
jobs:
deploy:
uses: ./.github/workflows/test.yml
needs: bun
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bun v1
uses: oven-sh/setup-bun@v1
with:
bun-version: 1
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run vite build --minify false --base dropflow/
- name: Upload site
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: dist/site/
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4