Skip to content

Commit f10bc7d

Browse files
committed
fix: @V3
1 parent 4a40b55 commit f10bc7d

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

.github/workflows/automated.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
@semantic-release/git
3737
@semantic-release/github
3838
env:
39-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
39+
GITHUB_TOKEN: "${{ secrets.GITHUB }}"
4040
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
4141
outputs:
4242
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"

.github/workflows/manual.yml

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
name: Manual Workflow
22
on:
3-
workflow_dispatch:
4-
inputs:
5-
invalidations:
6-
description: |
7-
If set to 'true', invalidates previous upload.
8-
default: "true"
9-
required: true
3+
workflow_dispatch:
4+
inputs:
5+
invalidations:
6+
description: |
7+
If set to 'true', invalidates previous upload.
8+
default: "true"
9+
required: true
1010

1111
jobs:
12-
cdn:
13-
runs-on: ubuntu-latest
14-
env:
15-
DRY_RUN: ${{ github.event.inputs.dry_run }}
16-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
17-
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
12+
cdn:
13+
runs-on: ubuntu-latest
14+
env:
15+
DRY_RUN: ${{ github.event.inputs.dry_run }}
16+
GITHUB_TOKEN: "${{ secrets.GITHUB }}"
17+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
1818

19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v3
22-
- name: setup nodejs
23-
uses: actions/setup-node@v3
24-
with:
25-
node-version: 16
26-
- name: yarn install
27-
run: >
28-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
29-
.npmrc
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v3
22+
- name: setup nodejs
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 16
26+
- name: yarn install
27+
run: >
28+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
29+
.npmrc
3030
31-
yarn install
32-
- name: yarn build
33-
run: yarn build
34-
- name: upload latest bundle
35-
uses: CoCreate-app/CoCreate-s3@master
36-
with:
37-
aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
38-
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
39-
distributionId: "${{ secrets.DISTRIBUTION_ID }}"
40-
bucket: testcrudbucket
41-
source: ./dist
42-
destination: /render/latest
43-
acl: public-read
44-
invalidations: ${{ github.event.inputs.invalidations }}
31+
yarn install
32+
- name: yarn build
33+
run: yarn build
34+
- name: upload latest bundle
35+
uses: CoCreate-app/CoCreate-s3@master
36+
with:
37+
aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
38+
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
39+
distributionId: "${{ secrets.DISTRIBUTION_ID }}"
40+
bucket: testcrudbucket
41+
source: ./dist
42+
destination: /render/latest
43+
acl: public-read
44+
invalidations: ${{ github.event.inputs.invalidations }}

0 commit comments

Comments
 (0)