diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml new file mode 100644 index 0000000..230d027 --- /dev/null +++ b/.github/workflows/auto-publish.yml @@ -0,0 +1,27 @@ +# Configuration options https://w3c.github.io/spec-prod/ +name: Publish the ED and Note + +on: + push: + branches: + - main + pull_request: {} + +jobs: + validate-and-publish: + name: Validate and Publish + runs-on: ubuntu-latest # only linux supported at present + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + - uses: w3c/spec-prod@v2 + with: + TOOLCHAIN: bikeshed + GH_PAGES_BRANCH: gh-pages + W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} + W3C_WG_DECISION_URL: "https://github.com/w3ctag/security-questionnaire/pull/171" + W3C_NOTIFICATIONS_CC: "${{ secrets.CC }}" + W3C_BUILD_OVERRIDE: | + status: NOTE + shortname: security-privacy-questionnaire \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index a4e420e..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: deploy - -on: - push: - branches: [ main ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - run: pip install bikeshed - - run: bikeshed update - - run: make - - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: build