Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

【管理】Netlifyデプロイの削除 #7300

Merged
merged 1 commit into from
May 23, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ jobs:
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}
GTM_CONTAINER_ID: ${{ secrets.GTM_CONTAINER_ID }}

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: production

- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ jobs:
- run: yarn run generate:dev
- 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
publish_branch: gh-pages

- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

## 開発に関する情報

- 開発サイト https://dev-covid19-tokyo.netlify.app/
- ステージングサイト https://stg-covid19-tokyo.netlify.app/
- 開発サイト https://stopcovid19-tokyo-development.web.app/
- ステージングサイト https://stopcovid19-tokyo-staging.web.app/
- 本番サイト https://stopcovid19.metro.tokyo.lg.jp/
- [デザイン](https://www.figma.com/file/V7vt80p2gauhdgTZeVNbgj/UI%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3?node-id=121%3A156)
- [翻訳スプレッドシート (Transifex)](https://www.transifex.com/stopcovid19-tokyo/stopcovid19tokyo)
Expand Down
30 changes: 15 additions & 15 deletions FOR_DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,13 @@ $ vagrant up

下表の左列に記載されたブランチが更新されると、ブランチと Web サイトの更新が自動的におこなわれます。

| ブランチ | HTML 類が build され、更新されるブランチ | 更新される Web サイト |
| ------------- | ---------------------------------------- | --------------------------------------------------------- |
| `master` | `production` | 本番サイト https://stopcovid19.metro.tokyo.lg.jp/ |
| `staging` | `gh-pages` | ステージングサイト https://stg-covid19-tokyo.netlify.app/ |
| `development` | `dev-pages` | 開発用サイト https://dev-covid19-tokyo.netlify.app/ |
| ブランチ | 更新される Web サイト |
| ------------- | ------------------------------------------------------------ |
| `master` | 本番サイト https://stopcovid19.metro.tokyo.lg.jp/ |
| `staging` | ステージングサイト https://stopcovid19-tokyo-staging.web.app |
| `development` | 開発用サイト https://stopcovid19-tokyo-development.web.app/ |

※ (2022-05-23 更新) ホスティングサービスを Netlify から Firebase に変更するのにともなって、Generate された HTML 類がコミットされるブランチ (production, gh-pages, dev-pages) の運用は終了しました。

---

Expand All @@ -156,19 +158,17 @@ Pull Request を送る際のブランチは、以下のネーミングルール

### 5-1. 基本的なブランチ

| 目的 | ブランチ | 確認 URL | Pull requests を出せる人 | 備考 |
| ------------ | ----------- | -------------------------------------- | ------------------------ | -------------------------------------------------------------------------------- |
| 開発 | development | https://dev-covid19-tokyo.netlify.app/ | 全開発者 | base branch。基本は、この`development`ブランチに Pull Request を送ってください。 |
| ステージング | staging | https://stg-covid19-tokyo.netlify.app/ | 管理者のみ | 本番前の最終確認用。管理者以外の Pull Request は禁止です。 |
| 本番 | master | https://stopcovid19.metro.tokyo.lg.jp/ | 管理者のみ | 管理者以外の Pull Request は禁止です。 |
| 目的 | ブランチ | 確認 URL | Pull requests を出せる人 | 備考 |
| ------------ | ----------- | ---------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------- |
| 開発 | development | https://stopcovid19-tokyo-development.web.app/ | 全開発者 | base branch。基本は、この`development`ブランチに Pull Request を送ってください。 |
| ステージング | staging | https://stopcovid19-tokyo-staging.web.app | 管理者のみ | 本番前の最終確認用。管理者以外の Pull Request は禁止です。 |
| 本番 | master | https://stopcovid19.metro.tokyo.lg.jp/ | 管理者のみ | 管理者以外の Pull Request は禁止です。 |

### 5-2. システムで利用しているブランチ

| 目的 | ブランチ | 確認 URL | 備考 |
| ----------------------- | -------------- | -------------------------------------- | -------------------------------------- |
| 本番サイト HTML | production | https://stopcovid19.metro.tokyo.lg.jp/ | 静的ビルドされた HTML が置いてある場所 |
| ステージングサイト HTML | gh-pages | https://stg-covid19-tokyo.netlify.app/ | 静的ビルドされた HTML が置いてある場所 |
| OGP 作業用 | deploy/new_ogp | なし | OGP の更新用 |
| 目的 | ブランチ | 確認 URL | 備考 |
| ---------- | -------------- | -------- | ------------ |
| OGP 作業用 | deploy/new_ogp | なし | OGP の更新用 |

---

Expand Down