-
Notifications
You must be signed in to change notification settings - Fork 0
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
066bf5b
commit 144c3a8
Showing
1 changed file
with
3 additions
and
2 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches-ignore: | ||
- 'master' | ||
pull_request: | ||
jobs: | ||
deploy_to_linode: | ||
name: Deploy to Linode | ||
|
@@ -13,10 +14,10 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Set branch name as env var | ||
run: echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV | ||
run: echo "BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV | ||
|
||
- name: Use branch name | ||
run: echo "The branch name is ${{ github.head_ref }}" | ||
run: echo "The branch name is $BRANCH_NAME" | ||
|
||
- name: Execute remote Docker Compose command | ||
uses: appleboy/[email protected] | ||
|