Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Feb 19, 2024
2 parents 5aca9c4 + 46dd244 commit b37e0eb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/push-hostinger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest


env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -20,15 +24,12 @@ jobs:

- name: Restore dependencies
run: dotnet restore src/Monambike.Website.sln

- name: Build and publish
run: dotnet publish -c Release --output ./publish-folder

- name: Deploy via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }}
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
Expand Down

0 comments on commit b37e0eb

Please sign in to comment.