Skip to content

fix deploy script

fix deploy script #3

Workflow file for this run

name: deploy
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
env:
BUILD_PATH: "."
jobs:
www:
name: www
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: pages
id: configpages
uses: actions/configure-pages@v3
- name: artifact
uses: actions/upload-pages-artifact@v1
with:
path: ${{ env.BUILD_PATH }}/www
deploy:
environment:
name: envpages
url: ${{ steps.deployment.outputs.page_url }}
needs: www
runs-on: ubuntu-latest
name: deploypages
steps:
- name: pages
id: deployment
uses: actions/deploy-pages@v1