Skip to content

Commit 6f29e82

Browse files
committed
WIP: remove checkout
Remove check from the stage workflow and from the manual workflow
1 parent 711b322 commit 6f29e82

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/dev-manual.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ jobs:
66
deploy-theme:
77
name: deploy-theme
88
runs-on: [self-hosted, linux, stage]
9-
env:
10-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
11-
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16
12-
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
139
steps:
14-
- uses: actions/checkout@v3
1510
- name: deploy-theme
1611
run: |
12+
cd "$GITHUB_WORKSPACE"
13+
git clone "https://github.com/$GITHUB_REPOSITORY.git" .
14+
git checkout "$GITHUB_SHA"
1715
chown -R :client .
1816
chmod -R g+w .
1917
make deploy

.github/workflows/stage-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
deploy-theme:
1515
name: deploy-theme
1616
runs-on: [self-hosted, linux, stage]
17-
env:
18-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1917
steps:
20-
- uses: actions/checkout@v3
2118
- name: deploy-theme
2219
run: |
20+
cd "$GITHUB_WORKSPACE"
21+
git clone "https://github.com/$GITHUB_REPOSITORY.git" .
22+
git checkout "$GITHUB_SHA"
2323
chown -R :client .
2424
chmod -R g+w .
2525
make deploy

0 commit comments

Comments
 (0)