-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7b7976
commit 1eb63e9
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- cron: '00 00 * * *' | ||
|
||
jobs: | ||
build: | ||
down: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Use CLI | ||
|
@@ -25,9 +25,7 @@ jobs: | |
|
||
- name: Get container ID | ||
run: | | ||
CONTAINER_ID=$(scw container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}') | ||
echo "::set-output name=container_id::$CONTAINER_ID" | ||
echo "CONTAINER_ID=$(scw container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV | ||
- name: 0 instances | ||
uses: jawher/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- cron: '00 07 * * *' | ||
|
||
jobs: | ||
build: | ||
up: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Use CLI | ||
|
@@ -25,8 +25,7 @@ jobs: | |
|
||
- name: Get container ID | ||
run: | | ||
CONTAINER_ID=$(scw container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}') | ||
echo "::set-output name=container_id::$CONTAINER_ID" | ||
echo "CONTAINER_ID=$(scw container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV | ||
- name: start 1 instance | ||
uses: jawher/[email protected] | ||
|