Skip to content

Commit

Permalink
Update ftp-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
muharsln authored Oct 22, 2024
1 parent 2dcab86 commit df4b0f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ftp-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build project
run: npm run build

- name: Copy additional files (sitemap.xml, robots.txt)
- name: Copy additional files (sitemap.xml, robots.txt, .htaccess)
run: |
mkdir -p build/output # Build çıktısının ve ek dosyaların olduğu klasörü oluştur
cp -R dist/v-card-blog/browser/* build/output/ # Build klasöründeki tüm dosyaları output klasörüne kopyala
Expand All @@ -33,7 +33,7 @@ jobs:
cp .htaccess build/output/ # .htaccess dosyasını da ekleyebilirsin (varsa)
- name: Deploy Files to FTP Server
uses: SamKirkland/FTP-Deploy-Action@4.5.0
uses: SamKirkland/FTP-Deploy-Action@latest
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
Expand Down

0 comments on commit df4b0f0

Please sign in to comment.