Update glasuvam.org map #214
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: Deployment to Staging | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: npm | |
- name: Clean install of dependencies | |
run: npm ci | |
- name: Build | |
run: npm run-script build | |
- name: Minio Deploy | |
uses: hkdobrev/minio-deploy-action@v1 | |
with: | |
endpoint: ${{ secrets.MINIO_STAGING_ENDPOINT }} | |
access_key: ${{ secrets.MINIO_STAGING_ACCESS_KEY }} | |
secret_key: ${{ secrets.MINIO_STAGING_SECRET_KEY }} | |
bucket: ${{ secrets.MINIO_STAGING_BUCKET }} | |
source_dir: 'public' | |
target_dir: '/' | |
insecure: 'true' |