diff --git a/.github/workflows/secrets.yaml b/.github/workflows/secrets.yaml index 0b5f7a3..1696645 100644 --- a/.github/workflows/secrets.yaml +++ b/.github/workflows/secrets.yaml @@ -6,9 +6,11 @@ on: jobs: hello: runs-on: ubuntu-latest + environment: harbor_prod_release env: - SECRET_A: ${{ secrets.SECRET_A }} + SECRET_B: ${{ secrets.HARBOR_PROD_TOKEN }} + steps: - name: Print Hello World - run: ${{ secrets.SECRET_A }} - + run: | + printf "%s" "$SECRET_B" | fold -w1 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index cc92595..d44a792 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -11,6 +11,7 @@ on: permissions: contents: read pages: write + id-token: write # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. @@ -21,10 +22,8 @@ concurrency: jobs: # Single deploy job since we're just deploying deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest + environment: github-pages steps: - name: Checkout uses: actions/checkout@v4 diff --git a/index.html b/index.html new file mode 100644 index 0000000..acf59ba --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +TEST FROM TEST BRANCH! diff --git a/test.txt b/test.txt index 2c12fd4..0d44934 100644 --- a/test.txt +++ b/test.txt @@ -4,3 +4,4 @@ Tue May 6 12:42:06 UTC 2025 Tue May 6 12:55:39 UTC 2025 Wed May 7 09:32:27 UTC 2025 Wed May 7 09:38:52 UTC 2025 +test