Merge pull request 'actions: cron: create /srv/example/cron/contexts first' (#182) from earl-warren/end-to-end:wip-cron into main

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/182
Reviewed-by: thefox <thefox@noreply.code.forgejo.org>
This commit is contained in:
thefox 2024-05-21 06:52:08 +00:00
commit c6cd39b074

View file

@ -10,9 +10,6 @@ jobs:
options: "--volume /srv/example:/srv/example" options: "--volume /srv/example:/srv/example"
steps: steps:
- run: |
touch /srv/example/cron-volume/DONE
- name: save context - name: save context
run: | run: |
d=/srv/example/cron/contexts/$GITHUB_EVENT_NAME d=/srv/example/cron/contexts/$GITHUB_EVENT_NAME
@ -20,3 +17,6 @@ jobs:
cat > $d/github <<'EOF' cat > $d/github <<'EOF'
${{ toJSON(github) }} ${{ toJSON(github) }}
EOF EOF
- run: |
touch /srv/example/cron-volume/DONE