Skip to content

Commit

Permalink
chore: test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfdl committed Jun 17, 2024
1 parent 360cb8d commit 2530c1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
build:
runs-on: ubuntu-latest
environment: PROD
env:
SERVER_SSL_CA: ${{ secrets.SERVER_SSL_CA }}
SERVER_SSL_CERT: ${{ secrets.SERVER_SSL_CERT }}
SERVER_SSL_KEY: ${{ secrets.SERVER_SSL_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -29,11 +33,8 @@ jobs:
toolchain: stable
components: rustfmt, clippy

- name: Create .env file
run: |
echo "SERVER_SSL_CA=\"${{ secrets.SERVER_SSL_CA }}\"" >> .env
echo "SERVER_SSL_CERT=\"${{ secrets.SERVER_SSL_CERT }}\"" >> .env
echo "SERVER_SSL_KEY=\"${{ secrets.SERVER_SSL_KEY }}\"" >> .env
- name: Create empty .env file
run: touch .env

- name: Build
run: cargo build --verbose
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
.env
config.toml
*.pem

0 comments on commit 2530c1a

Please sign in to comment.