Skip to content

Update rails-html-sanitizer to version 1.6.1 #149

Update rails-html-sanitizer to version 1.6.1

Update rails-html-sanitizer to version 1.6.1 #149

Workflow file for this run

name: On push
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker compose pull
- run: docker compose -f docker-compose.test.yml build
- run: docker compose -f docker-compose.test.yml run web sh -c 'rails db:setup && rails test'
deploy_production:
needs: test
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: zenato/docker-action@master
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
repository: ${{ secrets.REGISTRY_REPO }}
registry: ${{ secrets.REGISTRY_URL }}
tag: latest