remove unnecessary imports #130
This file contains 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
# This workflow will automatically deploy your application to www.evennode.com on push to master branch. | |
# yar | |
name: Deploy to EvenNode | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy Project | |
steps: | |
- name: Checkout mian branch | |
uses: actions/checkout@v2 | |
with: | |
ref: 'main' | |
- name: Unshallow the cloned repo | |
run: git fetch --unshallow | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: " " | |
- name: Add git.evennode.com to known_hosts | |
run: | | |
ssh-keyscan -H git.evennode.com > ~/.ssh/known_hosts | |
- name: Deploy to evennode.com | |
run: | | |
git remote add evennode ${{ secrets.EVENNODE_REPO_URL }} | |
git config --global user.email "${{ secrets.GIT_EMAIL }}" | |
git config --global user.name "${{ secrets.GIT_NAME }}" | |
git push evennode |