fix: ensure S3RW_{ACCESS,SECRET}_KEY are used #534
Workflow file for this run
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
name: Mirror and Trigger EICweb | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
concurrency: | |
group: mirror | |
cancel-in-progress: false | |
jobs: | |
build: | |
name: Mirror and Trigger EICweb | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Push to EICweb | |
if: github.event_name == 'push' | |
uses: eic/gitlab-sync@master | |
with: | |
url: https://eicweb.phy.anl.gov/containers/eic_container.git/ | |
token: ${{ secrets.GITLAB_TOKEN }} | |
username: ${{ secrets.GITLAB_USERNAME }} | |
ciskip: true | |
- name: Trigger EICweb | |
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' | |
uses: eic/trigger-gitlab-ci@v2 | |
with: | |
url: https://eicweb.phy.anl.gov | |
project_id: 290 | |
token: ${{ secrets.EICWEB_EIC_CONTAINER_TRIGGER }} | |
ref_name: ${{ github.event.pull_request.head.ref || github.ref }} | |
variables: | |
GITHUB_REPOSITORY=${{ github.repository }} | |
GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }} | |
GITHUB_PR=${{ github.event.pull_request.number }} |