Skip to content

humana-centerwell-go365-mitigation-fingerprinting-hardware-tracking-p… #1776

humana-centerwell-go365-mitigation-fingerprinting-hardware-tracking-p…

humana-centerwell-go365-mitigation-fingerprinting-hardware-tracking-p… #1776

name: Build and Publish
on:
push:
branches:
- main
paths:
- '**.json'
- '**.js'
- '**.yml'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install dependencies
run: npm install
- uses: ./
- name: Run tests
run: npm run test
- uses: jakejarvis/s3-sync-action@7ed8b112447abb09f1da74f3466e4194fc7a6311
with:
args: --acl public-read --follow-symlinks
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: 'generated'
DEST_DIR: 'trackerblocking/config'
- name: Set version variable
run: echo "VERSION=$(jq -r .version ./generated/v4/extension-config.json)" >> $GITHUB_ENV
- name: Generate release description file
uses: ./scripts/
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: zip
filename: privacy-configuration.zip
path: generated
- uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
with:
token: '${{ secrets.GITHUB_TOKEN }}'
name: 'remote-privacy-config-${{ env.VERSION }}'
artifacts: privacy-configuration.zip
tag: ${{ env.VERSION }}
bodyFile: etags.md