From 6bb5a462a25da643ee91159270492c7b7f29d491 Mon Sep 17 00:00:00 2001 From: John Jeffers Date: Thu, 27 Mar 2025 14:37:51 -0600 Subject: [PATCH 1/2] remove self-hosted runner --- .github/workflows/publish.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7a2d0f9..77370c9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,12 +1,4 @@ -# Run locally with act: -# -# act workflow_dispatch \ -# --input command= \ -# --input version= \ -# --workflows ./.github/workflows/release.yaml \ -# --platform fusionauth-standard=[repo]/gha-runner-fusionauth-standard:latest \ -# --env-file <(aws configure export-credentials --profile [aws-profile] --format env) - +--- name: Publish on: @@ -27,8 +19,8 @@ permissions: contents: write jobs: - publish: - runs-on: fusionauth-standard + deploy: + runs-on: ubuntu-latest steps: - name: create github token id: app-token @@ -50,7 +42,7 @@ jobs: - name: set aws credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.ACTIONS_AWS_ROLE_ARN }} + role-to-assume: arn:aws:iam::752443094709:role/gha-fusionauth-node-cli role-session-name: aws-auth-action aws-region: us-west-2 From fe944e294cbc86a2c1c054b8e3cbb123f4d99c7d Mon Sep 17 00:00:00 2001 From: John Jeffers Date: Thu, 27 Mar 2025 14:38:26 -0600 Subject: [PATCH 2/2] fix job name --- .github/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 77370c9..93dad25 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,7 @@ permissions: contents: write jobs: - deploy: + publish: runs-on: ubuntu-latest steps: - name: create github token