Skip to content

feat: add keywords and original source #6

feat: add keywords and original source

feat: add keywords and original source #6

Workflow file for this run

name: server
on:
push:
paths:
- "**"
branches:
- main
pull_request:
paths:
- "**"
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & Push Docker Staging Build
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
push: true
tags: hicsail/gdp-flask:staging
build-args: |
NOCO_DB_URL=${{ secrets.NOCO_DB_URL }}
NOCO_XC_TOKEN=${{ secrets.NOCO_XC_TOKEN }}
- name: Push to Staging
uses: fjogeleit/http-request-action@v1
if: github.ref == 'refs/heads/main'
with:
method: POST
url: ${{ secrets.PORTAINER_WEBHOOK_STAGING }}
preventFailureOnResponse: true