diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e69cd1..7d998b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: - main jobs: - build: + lint: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12b3ff8..ab5f18b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: types: [completed] jobs: - release: + build_and_deployment: runs-on: ubuntu-latest env: NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} @@ -41,6 +41,7 @@ jobs: run: | yarn install yarn add sharp --ignore-engines + - name: Run next build for english run: | yarn build @@ -55,6 +56,7 @@ jobs: local-dir: ./out/ exclude: | ogimages/*-ja-*.png + - name: Run next build for japanese run: | yarn build diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 2df00a0..2eb743a 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -10,7 +10,7 @@ on: types: [completed] jobs: - staging: + build_and_deployment: runs-on: ubuntu-latest env: NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} @@ -42,6 +42,7 @@ jobs: run: | yarn install yarn add sharp --ignore-engines + - name: Run next build for english run: | yarn build @@ -57,6 +58,7 @@ jobs: local-dir: ./out/ exclude: | ogimages/*-ja-*.png + - name: Run next build for japanese run: | yarn build @@ -66,7 +68,7 @@ jobs: - name: Deploy to stag.cognano.co.jp by FTP uses: SamKirkland/FTP-Deploy-Action@v4.3.5 with: - server: ${{ secrets.FTPHOST }} + server: ${{ secrets.FTP_HOST }} username: ${{ secrets.FTP_USER_STAG_JA }} password: ${{ secrets.FTP_PASS_STAG_JA }} local-dir: ./out/