Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/binary-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
dune pkg lock
dune build

deploy-s3:
deploy:
runs-on: ubuntu-latest
needs: [binary, check-artifacts]
permissions:
Expand Down Expand Up @@ -219,9 +219,6 @@ jobs:
- name: Move artifacts to scope
run: mv "/home/runner/artifacts" "."

- name: Export Rclone configuration
run: echo "${{ secrets.RCLONE_CONF }}" >> rclone.conf

- name: Export executables and generate html
shell: bash
run: ./_build/install/default/bin/sandworm sync --commit "${{ needs.binary.outputs.git-commit }}"
Expand All @@ -236,8 +233,8 @@ jobs:

notify:
runs-on: ubuntu-latest
needs: [binary, check-artifacts, deploy-s3]
if: ${{ github.ref == 'refs/heads/main' && !cancelled() && (needs.binary.result == 'failure' || needs.check-artifacts.result == 'failure' || needs.deploy-s3.result == 'failure' ) }}
needs: [binary, check-artifacts, deploy]
if: ${{ github.ref == 'refs/heads/main' && !cancelled() && (needs.binary.result == 'failure' || needs.check-artifacts.result == 'failure' || needs.deploy.result == 'failure' ) }}
steps:
- name: Post an error message to Slack
id: slack
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/binary-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
dune pkg lock
dune build

deploy-s3:
deploy:
runs-on: ubuntu-latest
needs: [check_build, binary, check-artifacts]
permissions:
Expand Down Expand Up @@ -219,9 +219,6 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_PUBLIC_KEY: ${{ secrets.SSH_PUBLIC_KEY }}

- name: Export Rclone configuration
run: echo "${{ secrets.RCLONE_CONF }}" >> rclone.conf

- name: Export executables and generate html
shell: bash
run: ./_build/install/default/bin/sandworm sync --commit "${{ needs.check_build.outputs.commit }}" --tag "${{ needs.check_build.outputs.release }}"
Expand All @@ -237,8 +234,8 @@ jobs:

notify:
runs-on: ubuntu-latest
needs: [binary, check-artifacts, deploy-s3]
if: ${{ github.ref == 'refs/heads/main' && !cancelled() && (needs.binary.result == 'failure' || needs.check-artifacts.result == 'failure' || needs.deploy-s3.result == 'failure' ) }}
needs: [binary, check-artifacts, deploy]
if: ${{ github.ref == 'refs/heads/main' && !cancelled() && (needs.binary.result == 'failure' || needs.check-artifacts.result == 'failure' || needs.deploy.result == 'failure' ) }}
steps:
- name: Post an error message to Slack
id: slack
Expand Down
5 changes: 5 additions & 0 deletions rclone.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[dune-binary-distribution]
type = sftp
host = get.dune.build
user = github-actions
key_file = /home/runner/.ssh/tarides