Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub Actions #91

Merged
merged 3 commits into from Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,23 @@
name: Build
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: make ci
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out

15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

29 changes: 29 additions & 0 deletions Makefile
@@ -0,0 +1,29 @@
SHELL=/bin/bash

local: index.bs
bikeshed --die-on=warning spec index.bs index.html

index.html: index.bs
@ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \
--output index.html \
--write-out "%{http_code}" \
--header "Accept: text/plain, text/html" \
-F die-on=warning \
-F file=@index.bs) && \
[[ "$$HTTP_STATUS" -eq "200" ]]) || ( \
echo ""; cat index.html; echo ""; \
rm -f index.html; \
exit 22 \
);

remote: index.html

ci: index.bs
mkdir -p out
make remote
mv index.html out/index.html

clean:
rm index.html


10 changes: 0 additions & 10 deletions compile.sh

This file was deleted.

66 changes: 0 additions & 66 deletions deploy.sh

This file was deleted.

Binary file removed deploy_key.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion index.bs
Expand Up @@ -338,7 +338,7 @@ Report long tasks {#report-long-tasks}
1. Set |attribution|'s {{containerSrc}} attribute to the value of |container|'s <code>src</code> content attribute, or the empty string if the attribute is absent.
1. If |container| is an <{object}> element:
1. Set |attribution|'s {{containerType}} attribute to "<code>object</code>".
1. Set |attribution|'s {{containerName}} attribute to the value of |container|'s <{object/name}> content attribute, or the empty string if the attribute is absent.
1. Set |attribution|'s {{containerName}} attribute to the value of |container|'s <a href="https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-name">name</a> content attribute, or the empty string if the attribute is absent.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you file an HTML bug to disambiguate this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added a comment on an existing issue I filed: whatwg/html#5958 (comment)

1. Set |attribution|'s {{containerSrc}} attribute to the value of |container|'s <{object/data}> content attribute, or the empty string if the attribute is absent.
1. If |container| is an <{embed}> element:
1. Set |attribution|'s {{containerType}} attribute to "<code>embed</code>".
Expand Down