Skip to content

Commit

Permalink
fix: initial a tmicon building workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
darrytai committed May 21, 2024
1 parent 9407c7d commit 07426b5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
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

0 comments on commit 07426b5

Please sign in to comment.