Skip to content

Commit

Permalink
fix: earthly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylar Simoncelli committed Sep 23, 2024
1 parent cfd7f4c commit a0e7d82
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- name: Deploy Rust Docs
uses: ./.github/actions/deploy/deploy-rustdoc
with:
ssh_key: ${{ inputs.ssh_key }}
ssh_key: ${{ secrets.SUBSTRATE_REPO_SSH_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
Expand Down
36 changes: 35 additions & 1 deletion .github/workflows/earthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,38 @@ jobs:
env:
kubeconfig_base64: ${{ secrets.kubeconfig_base64 }}
K8S_SERVER: ${{ secrets.K8S_SERVER }}
K8S_SA_TOKEN: ${{ secrets.K8S_SA_TOKEN }}
K8S_SA_TOKEN: ${{ secrets.K8S_SA_TOKEN }}

devshell-tests:
permissions:
id-token: write
contents: write
strategy:
matrix:
os: [nixos, macos]
runs-on: ${{ matrix.os }}
steps:
- name: Nix Devshells Tests
uses: ./.github/actions/tests/devshell-tests
env:
AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }}
NIX_SIGNING_KEY: ${{ secrets.NIX_SIGNING_KEY }}
AWS_DEFAULT_REGION: "eu-central-1"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

deploy-rustdoc:
permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Deploy Rust Docs
uses: ./.github/actions/deploy/deploy-rustdoc
with:
ssh_key: ${{ secrets.SUBSTRATE_REPO_SSH_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
46 changes: 0 additions & 46 deletions .github/workflows/nix.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/publish-doc.yml

This file was deleted.

0 comments on commit a0e7d82

Please sign in to comment.