Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# .github/workflows/auto-publish.yml
name: CI
on:
pull_request: {}
push:
branches: [main]
branches: [gh-pages]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! But, I'm a bit confused about what's the intended effect of this PR. Now it only does something when pushing to gh-pages, instead of when pushing to main. That means that it won't auto-publish an editor's draft anymore when merging PRs, for example, right? I assume that's not intended, or is it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@twiss thank you. I think it is correct now. by the way, when the PR is approved I'll run some tests

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to push and forgot? If not, you need to clarify what you meant.

jobs:
main:
name: Build, Validate, Deploy
name: Build, Validate and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: w3c/spec-prod@v2
with:
GH_PAGES_BRANCH: gh-pages
SOURCE: spec/Overview.html
DESTINATION: index.html
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
# Replace following with appropriate value. See options.md for details.
W3C_WG_DECISION_URL: https://github.com/w3c/webappsec/issues/672
# Usually, you want the following set too...
TOOLCHAIN: respec
SOURCE: spec/Overview.html
W3C_BUILD_OVERRIDE: |
shortName: WebCryptoAPI
status: ED
status: WD