Commit cb2898668394fd71d0241e6c73c361f801984ee6
1 parent
a89ba204
fix: workflows
Showing
2 changed files
with
7 additions
and
7 deletions
.github/workflows/deploy.yml
@@ -59,7 +59,7 @@ jobs: | @@ -59,7 +59,7 @@ jobs: | ||
59 | runs-on: ubuntu-latest | 59 | runs-on: ubuntu-latest |
60 | steps: | 60 | steps: |
61 | - name: Checkout | 61 | - name: Checkout |
62 | - uses: actions/checkout@v2 | 62 | + uses: actions/checkout@v3 |
63 | 63 | ||
64 | - name: Sed Config Base | 64 | - name: Sed Config Base |
65 | shell: bash | 65 | shell: bash |
@@ -69,7 +69,7 @@ jobs: | @@ -69,7 +69,7 @@ jobs: | ||
69 | cat ./.env.production | 69 | cat ./.env.production |
70 | 70 | ||
71 | - name: use Node.js 16 | 71 | - name: use Node.js 16 |
72 | - uses: actions/setup-node@v2.1.2 | 72 | + uses: actions/setup-node@v3 |
73 | with: | 73 | with: |
74 | node-version: '16.x' | 74 | node-version: '16.x' |
75 | 75 | ||
@@ -78,7 +78,7 @@ jobs: | @@ -78,7 +78,7 @@ jobs: | ||
78 | run: echo "::set-output name=dir::$(yarn cache dir)" | 78 | run: echo "::set-output name=dir::$(yarn cache dir)" |
79 | 79 | ||
80 | - name: Cache dependencies | 80 | - name: Cache dependencies |
81 | - uses: actions/cache@v2 | 81 | + uses: actions/cache@v3 |
82 | with: | 82 | with: |
83 | path: ${{ steps.yarn-cache.outputs.dir }} | 83 | path: ${{ steps.yarn-cache.outputs.dir }} |
84 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | 84 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
@@ -109,7 +109,7 @@ jobs: | @@ -109,7 +109,7 @@ jobs: | ||
109 | cp dist/index.html dist/404.html | 109 | cp dist/index.html dist/404.html |
110 | 110 | ||
111 | - name: Deploy | 111 | - name: Deploy |
112 | - uses: peaceiris/actions-gh-pages@v2.5.0 | 112 | + uses: peaceiris/actions-gh-pages@v3 |
113 | env: | 113 | env: |
114 | ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}} | 114 | ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}} |
115 | PUBLISH_BRANCH: gh-pages | 115 | PUBLISH_BRANCH: gh-pages |
.github/workflows/ftp-schedule.yml
@@ -11,7 +11,7 @@ jobs: | @@ -11,7 +11,7 @@ jobs: | ||
11 | runs-on: ubuntu-latest | 11 | runs-on: ubuntu-latest |
12 | steps: | 12 | steps: |
13 | - name: Checkout | 13 | - name: Checkout |
14 | - uses: actions/checkout@v2 | 14 | + uses: actions/checkout@v3 |
15 | 15 | ||
16 | - name: Sed Config Base | 16 | - name: Sed Config Base |
17 | shell: bash | 17 | shell: bash |
@@ -22,7 +22,7 @@ jobs: | @@ -22,7 +22,7 @@ jobs: | ||
22 | cat ./.env.production | 22 | cat ./.env.production |
23 | 23 | ||
24 | - name: use Node.js 16 | 24 | - name: use Node.js 16 |
25 | - uses: actions/setup-node@v2.1.2 | 25 | + uses: actions/setup-node@v3 |
26 | with: | 26 | with: |
27 | node-version: '16.x' | 27 | node-version: '16.x' |
28 | 28 | ||
@@ -31,7 +31,7 @@ jobs: | @@ -31,7 +31,7 @@ jobs: | ||
31 | run: echo "::set-output name=dir::$(yarn cache dir)" | 31 | run: echo "::set-output name=dir::$(yarn cache dir)" |
32 | 32 | ||
33 | - name: Cache dependencies | 33 | - name: Cache dependencies |
34 | - uses: actions/cache@v2 | 34 | + uses: actions/cache@v3 |
35 | with: | 35 | with: |
36 | path: ${{ steps.yarn-cache.outputs.dir }} | 36 | path: ${{ steps.yarn-cache.outputs.dir }} |
37 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | 37 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |