Skip to content

Commit

Permalink
Merge pull request stopcovid19-okayama#394 from tokyo-metropolitan-go…
Browse files Browse the repository at this point in the history
…v/development

release ver. 1.0.5
  • Loading branch information
halsk authored Mar 4, 2020
2 parents 3caf30b + acf69d1 commit 5639892
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: staging deploy
name: development deploy

on:
push:
branches:
- staging
- development

jobs:
deploy:
Expand Down Expand Up @@ -34,3 +34,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: dev-pages
36 changes: 36 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: staging deploy

on:
push:
branches:
- staging

jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.x'

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn run test
- run: yarn run generate --fail-on-page-error
- run: "echo \"User-agent: *\nDisallow *\" > ./dist/robots.txt"

- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,16 @@ $ yarn dev

`staging` ブランチがアップデートされると、自動的に `gh-pages` ブランチにHTML類がbuildされます。そして、ステージングサイト https://stg-covid19-tokyo.netlify.com/ が更新されます。

`development` ブランチがアップデートされると、自動的に `dev-pages` ブランチにHTML類がbuildされます。そして、開発用サイト https://dev-covid19-tokyo.netlify.com/ が更新されます。


If `master` branch is updated, the script will build html files to `production` branch.
`Netlify` will also update the production site https://stopcovid19.metro.tokyo.lg.jp/ .
It will also update the production site https://stopcovid19.metro.tokyo.lg.jp/ .

If `staging` branch is updated, the script will build html files to `gh-pages` branch.
`Netlify` will also update the staging site https://stg-covid19-tokyo.netlify.com/ .
It will also update the staging site https://stg-covid19-tokyo.netlify.com/ .

If `development` branch is updated, the script will build html files to `dev-pages` branch.
It will also update the development site https://dev-covid19-tokyo.netlify.com/ .


5 changes: 2 additions & 3 deletions components/DataView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default class DataView extends Vue {
.DataView {
&-DataInfo {
&-summary {
font-weight: 600;
color: $gray-2;
font-family: Hiragino Sans;
font-style: normal;
Expand All @@ -58,6 +57,7 @@ export default class DataView extends Vue {
@include card-container();
height: 100%;
&-content {
height: auto !important;
.v-toolbar__content {
align-items: start;
}
Expand All @@ -69,7 +69,6 @@ export default class DataView extends Vue {
&-TitleContainer {
padding: 14px 0 8px;
color: $gray-2;
font-weight: 600;
}
&-Title {
@include card-h2();
Expand All @@ -88,7 +87,7 @@ export default class DataView extends Vue {
}
}
.v-toolbar__content {
height: 80px !important;
height: auto !important;
}
.v-toolbar__title {
white-space: inherit !important;
Expand Down
2 changes: 1 addition & 1 deletion components/DataViewBasicInfoPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}
}
.v-toolbar__content {
height: 80px !important;
height: auto !important;
}
</style>

Expand Down

0 comments on commit 5639892

Please sign in to comment.