diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c8a854c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: deploy +on: + push: + branches: + - github-actions +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - run: make deploy + env: + SERVER: ${{ secrets.MARQUEE_SERVER }} + SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }} + SERVER_DEPLOY_KEY: ${{ secrets.MARQUEE_DEPLOY_KEY }} diff --git a/.gitignore b/.gitignore index 1710fad..a0a0c52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ /fullscreen.spec.whatwg.org/ /deploy.sh -/deploy_key -/deploy_key.pub /fullscreen.html /review.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d8e716c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: generic - -env: - global: - - ENCRYPTION_LABEL="f5b0eb183bc9" - -script: - - make deploy - -branches: - only: - - master - -notifications: - email: - on_success: never - on_failure: always diff --git a/Makefile b/Makefile index 0d466b8..11f5788 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ local: fullscreen.bs bikeshed spec fullscreen.bs fullscreen.html --md-Text-Macro="COMMIT-SHA LOCAL COPY" deploy: fullscreen.bs - curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh + curl --remote-name --fail https://raw.githubusercontent.com/whatwg/whatwg.org/github-actions-spec-deploy/resources.whatwg.org/build/deploy.sh bash ./deploy.sh review: fullscreen.bs