Skip to content

Commit

Permalink
Update main.yml with username/password for Cloudant
Browse files Browse the repository at this point in the history
  • Loading branch information
audrey-yang authored Dec 9, 2024
1 parent 02a8bbd commit c3a52b6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,28 @@ jobs:
- run: npm ci
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
VITE_CLOUDANT_USERNAME: ${{ secrets.VITE_CLOUDANT_USERNAME }}
VITE_CLOUDANT_PASSWORD: ${{ secrets.VITE_CLOUDANT_PASSWORD }}
VITE_APP_PASSWORD: ${{ secrets.VITE_APP_PASSWORD }}
- name: Package app
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
VITE_CLOUDANT_USERNAME: ${{ secrets.VITE_CLOUDANT_USERNAME }}
VITE_CLOUDANT_PASSWORD: ${{ secrets.VITE_CLOUDANT_PASSWORD }}
VITE_APP_PASSWORD: ${{ secrets.VITE_APP_PASSWORD }}
run: npm run package
- name: Make app
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
VITE_CLOUDANT_USERNAME: ${{ secrets.VITE_CLOUDANT_USERNAME }}
VITE_CLOUDANT_PASSWORD: ${{ secrets.VITE_CLOUDANT_PASSWORD }}
VITE_APP_PASSWORD: ${{ secrets.VITE_APP_PASSWORD }}
run: npm run make
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
VITE_CLOUDANT_USERNAME: ${{ secrets.VITE_CLOUDANT_USERNAME }}
VITE_CLOUDANT_PASSWORD: ${{ secrets.VITE_CLOUDANT_PASSWORD }}
VITE_APP_PASSWORD: ${{ secrets.VITE_APP_PASSWORD }}
run: npm run publish

0 comments on commit c3a52b6

Please sign in to comment.