Skip to content

Update Realm

Update Realm #20

Workflow file for this run

name: Convert to Base64
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Convert Realm to base64
run: |
content=$(cat Realm | base64 | tr -d '\n')
echo "$content" > Raw
- name: Check for Base64 Changes
id: changes64
run: |
git diff --quiet && echo 'No changes' || echo '::set-output name=changed::true'
- name: Commit and Push Base64
if: steps.changes64.outputs.changed == 'true'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add Raw
git commit -m "Update Subscription"
git push