Make initial JSWindow coords relative to parent #51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: action-to-publish-app | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy-the-website-online: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
| echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
| echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
| echo "I am in ${{ github.workspace }}." | |
| echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
| echo "Actual things now." | |
| echo "Cloning repo:" | |
| git clone https://Benur21:${{ secrets.GITHUB_TOKEN }}@github.com/Benur21/HTML-CSS.git | |
| echo "-Entering the repo folder:" | |
| cd HTML-CSS/ | |
| echo "-Current path:" | |
| pwd | |
| echo "-Current files:" | |
| ls -l -a | |
| echo "-Build the app:" | |
| yarn && yarn run build | |
| echo "-Current branch:" | |
| git branch | |
| echo "-Checkout branch:" | |
| git checkout gh-pages | |
| echo "-Current branch:" | |
| git branch | |
| echo "-Current files:" | |
| ls -l -a | |
| echo "-Removing old files:" | |
| shopt -s extglob | |
| rm -f -r !(dist) | |
| ls -l -a | |
| echo "-Moving new files:" | |
| mv dist/* . | |
| ls -l -a | |
| echo "-Removing empty:" | |
| rm -r dist | |
| ls -l -a | |
| echo "-Configurating git:" | |
| git config user.name Benur21 | |
| git config user.email Benur21@users.noreply.github.com | |
| echo "-Git status:" | |
| git status | |
| echo "-Git add .:" | |
| git add . | |
| echo "-Commit:" | |
| git commit -m "deploy: ${{ github.sha }}" --allow-empty | |
| echo "-Git status:" | |
| git status | |
| echo "-Git log:" | |
| git log -3 | |
| echo "-Push:" | |
| git push | |
| echo "π This job's status is ${{ job.status }}." |