Skip to content

Deploy Github Page

Deploy Github Page #3

Workflow file for this run

name: "Deploy Github Page"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start Obfuscating
run: |
composer install
rm -rf .github org .gitignore
git add vendor
- name: Push to deployment Repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: '.'
destination-github-username: 'mrepol742'
destination-repository-name: 'mrepol742.github.io'
user-email: [email protected]
commit-message: Initial Commit
target-branch: deployment