Fix action name in Mail example (#1895) #726
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: Build ihp-new Package | |
on: | |
push: | |
branches: 'master' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/a95ed9fe764c3ba2bf2d2fa223012c379cd6b32e.tar.gz | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: digitallyinduced | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-west-1 | |
- name: Build ihp-new Package | |
run: | | |
cd $GITHUB_WORKSPACE | |
nix develop --impure --command build-ihp-new | |
- name: Uploading ihp-new Package | |
run: aws s3 cp ./ProjectGenerator/tarball.tar.gz s3://${{ secrets.S3_BUCKET }}/ihp-new.tar.gz |