-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: initial a tmicon building workflow
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Update Test File | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
||
jobs: | ||
update-file: | ||
runs-on: ebf-pod-ubuntu-2004@${{ github.run_id }}-test-tmicon-builder | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check git status | ||
run: git status | ||
|
||
- name: Write to test.txt | ||
run: echo "This is a dynamically written text file." > test.txt | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.name 'HIE UX Service' | ||
git config --global user.email '[email protected]' | ||
- name: Add changes | ||
run: git add test.txt | ||
|
||
- name: Commit changes | ||
run: git commit -m "Add test.txt with dynamic content" | ||
|
||
- name: Push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: git push origin main |