Skip to content

Commit

Permalink
update deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
princefr committed Sep 9, 2024
1 parent b339957 commit 8131cbf
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install nitghly
run: |
rustup install nightly
rustup default nightly
rustup install nightly
rustup default nightly
- name: test
env:
MTN_URL: ${{ secrets.MTN_URL }}
MTN_COLLECTION_PRIMARY_KEY: ${{ secrets.MTN_COLLECTION_PRIMARY_KEY }}
MTN_COLLECTION_SECONDARY_KEY: ${{ secrets.MTN_COLLECTION_SECONDARY_KEY }}
MTN_DISBURSEMENT_PRIMARY_KEY: ${{ secrets.MTN_DISBURSEMENT_PRIMARY_KEY}}
MTN_DISBURSEMENT_SECONDARY_KEY: ${{ secrets.MTN_DISBURSEMENT_SECONDARY_KEY}}
MTN_REMITTANCE_PRIMARY_KEY: ${{ secrets.MTN_REMITTANCE_PRIMARY_KEY }}
MTN_REMITTANCE_SECONDARY_KEY: ${{ secrets.MTN_REMITTANCE_SECONDARY_KEY }}
MTN_API_USER: ${{ secrets.MTN_API_USER}}
MTN_API_KEY: ${{ secrets.MTN_API_KEY}}
run: |
touch .env
echo MTN_URL=${{ secrets.MTN_URL }} >> .env
echo MTN_COLLECTION_PRIMARY_KEY=${{ secrets.MTN_COLLECTION_PRIMARY_KEY }} >> .env
echo MTN_COLLECTION_SECONDARY_KEY=${{ secrets.MTN_COLLECTION_SECONDARY_KEY }} >> .env
echo MTN_DISBURSEMENT_PRIMARY_KEY=${{ secrets.MTN_DISBURSEMENT_PRIMARY_KEY}} >> .env
echo MTN_DISBURSEMENT_SECONDARY_KEY=${{ secrets.MTN_DISBURSEMENT_SECONDARY_KEY}} >> .env
echo MTN_REMITTANCE_PRIMARY_KEY=${{ secrets.MTN_REMITTANCE_PRIMARY_KEY }} >> .env
echo MTN_REMITTANCE_SECONDARY_KEY=${{ secrets.MTN_REMITTANCE_SECONDARY_KEY }} >> .env
echo MTN_API_USER=${{ secrets.MTN_API_USER}} >> .env
echo MTN_API_KEY=${{ secrets.MTN_API_KEY}} >> .env
cargo test
# release:
Expand All @@ -36,4 +36,4 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# tag=$(git describe --tags --abbrev=0)
# gh release create $tag ./target/release/*
# gh release create $tag ./target/release/*

0 comments on commit 8131cbf

Please sign in to comment.